#include <stdio.h>

int Addtosum(int a)
{
    int s = 0;
    int i = 0;
    for(i = 0;i<=a;i++)
    {
        s+=i;
    }

    return s;
}
int main()
{
    int a = 100;

    int sum = Addtosum(a);

    printf("%d\n",sum);

    return 0;
}

